package com.yx.shop.dao;

import com.yx.shop.entitly.PageBean;
import com.yx.shop.entitly.Product;

import java.util.List;

/**
 * @Classname ProductDao
 * @Description TODO:
 * @Date 2021/05/07 17:19
 * @Created by yx
 */
public interface ProductDao {
    List<Product> getProductByTid(PageBean page,Integer tid);
    Long getCount(Integer tid);
    Product getById(Integer pid);
}
